home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHome 2001 May
/
MacHome CD (May 2001).iso
/
mac
/
Stuff
/
Software
/
Home
/
Language Assistant 2.1
/
Translators
/
intertran.trn
< prev
next >
Wrap
Text File
|
2001-01-21
|
4KB
|
122 lines
# A translator definition file for use with Language Assistant
#
# General form: varname=value
# Extended form: varname=name:value
#
# General form is used in most cases; extended form is used only when the
# variable contains two parts, an identifier or name, and an actual value.
# The presence of whitespace before and after the equals sign will not
# affect anything.
#
# Arrays are notated with []s after their names; these special variables
# may be set as many times as necessary to append more values to them.
# Extended form arrays are notated with [][]s after their names.
#
# And, as you have probably noticed by now, lines that begin with a '#'
# sign are treated as comments and will not be evaluated.
#
# The following constants are available for use throughout this file:
# $la_language1: the name (or identifier) of the first language menu
# $la_language2: the name (or identifier) of the second language menu
# $la_text: the text typed into the translation box
#
# Note: only one language menu will appear if the language_type is set to
# 'single'. In this case, you should use $la_language1 to retrive the
# language.
# cookie[][]: the names of any cookies that should be retrieved
cookie=INTERTRAN_ID:
# cookie_host: the domain name of the host to retrieve cookies from
cookie_host=www.tranexp.com
# cookie_port: the port of the host to retrieve cookies from
cookie_port=2000
# cookie_script: the name of the script or file to retrive cookies from
cookie_script=/InterTran?
# data_start[]: a unique string that directly precedes the translated next
data_start=Translated text:<BR><TEXTAREA NAME=none COLS=70 ROWS=5>
# data_end[]: a unique string that comes directly after the translated next
data_end=</TEXTAREA>
# add more possible data_starts and data_ends
data_start=<B>Translated text</B>:<BR><HR>
data_end=<BR><HR>
# the internet text encoding name to use with the MacOS Text Encoding Converter
encoding=iso-8859-1
# engine_name: the name of the translator
engine_name=InterTran
# form_input[][]: an array of html form inputs to send to the translation server
form_input=url:http%3A%2F%2Fwww.tranexp.com%2Fwin%2Fleft.html
# add more form_inputs
form_input=topframe:yes
form_input=type:text
form_input=text:$la_text
form_input=from:$la_language1
form_input=to:$la_language2
# form_type: html form type; always either 'get' or 'post'
form_type=post
# get_cookies: should we query cookie_host for cookies during the
# "Starting up..." stage?
get_cookies=true
# language[][]: the different languages and their "identifiers"
language=pob:Brazilian Portuguese
# add more languages
#language=bul:Bulgarian (CP 1251)
#language=cro:Croatian (CP 1250)
#language=che:Czech (CP 1250)
language=dan:Danish
language=dut:Dutch
language=eng:English
language=spe:European Spanish
language=fin:Finnish
language=fre:French
language=ger:German
language=grk:Greek
#language=hun:Hungarian (CP 1250)
language=ice:Icelandic
language=ita:Italian
#language=jpn:Japanese (Shift JIS)
language=spl:Latin American Spanish
language=nor:Norwegian
#language=pol:Polish (ISO 8859-2)
language=poe:Portuguese
#language=rom:Romanian (CP 1250)
#language=rus:Russian (CP 1251)
#language=sel:Serbian (CP 1250)
#language=slo:Slovenian (CP 1250)
language=spa:Spanish
language=swe:Swedish
language=wel:Welsh
# language1_default: default menu selection for language1
language1_default=eng
# language2_default: default menu selection for language2 (use if language_type=dual)
language2_default=fre
# language_type: should we show two translation menus, or just one; always 'single' or 'dual'
language_type=dual
# referrer: referrer to use when sending http requests to the translation server
referrer=http://www.tranexp.com:2000/InterTran?
# translate_host: the domain name of the host to retrieve translations from
translate_host=www.tranexp.com
# translate_port: the port of the host to retrieve translations from
translate_port=2000
# cookie_script: the name of the script or file to retrive translations from
translate_script=/InterTran